package com.ctshk.rpc.localfun.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/4/12
 */
@Data
@ApiModel(value="PCLocalFunQueryReq对象",description="當地玩樂查詢入參")
public class PCLocalFunQueryReq extends PageReq implements Serializable {

    @ApiModelProperty("城市ID")
    private Long cityId;

    @ApiModelProperty(value = "城市名稱")
    private String cityName;

    @ApiModelProperty(value = "游玩类型id")
    private Long funType;

    @ApiModelProperty(value = "用户输入的检索条件")
    private String key;

    @NotNull(message = "请求来源不能为空")
    @ApiModelProperty(value = "请求来源:1:H5&APP,2:PC")
    private Long channelId;


    @ApiModelProperty(value = "价格和销量先后：1 价格先查询,2 销量先查询")
    private Integer sort;

    @ApiModelProperty(value = "销量排序：1 升序,2 倒序")
    private Integer soldSortType;

    @ApiModelProperty(value = "价格排序：1 升序,2 倒序")
    private Integer priceSortType;

    @ApiModelProperty(value = "主题帅选，主题名称用英文逗号拼接，例如：亲子,风情")
    private String themeName;

    @ApiModelProperty(value = "页码")
    private  Integer pageNo;

    @ApiModelProperty(value = "每页数据量")
    private  Integer pageNum;

}
